package com.hscy.push.service;


import com.corundumstudio.socketio.store.pubsub.PubSubMessage;
import com.hscy.push.entity.ChatMessage;
import com.hscy.push.entity.PushMessage;

import java.util.List;

/**
 * @author admin
 */
public interface PushService {

    /**
     * 推送消息给客户
     *
     * @param message
     * @param userId
     */
    void pushUser(String message, String userId);

    /**
     * 推送消息给多个客户
     *
     * @param message
     * @param userIdList
     */
    void pushUser(String message, List<String> userIdList);


    /**
     * 推送消息给客户
     *
     * @param chatMessage
     */
    void pushChatMessage(ChatMessage chatMessage);

}
